#ifndef CARD_HPP
#define CARD_HPP

/// one Card = one byte (unsigned char: 0-255)
typedef unsigned char Card;

/**
 * Calculates the value of the given Card.
 * 0: invalid card
 * 1: Ace
 * 2: Two
 * ...
 * 10: Ten
 * 11: Jack
 * 12: Queen
 * 13: King
 */
unsigned char card_get_value(Card card);

/**
 * Calculates the suite of the given Card.
 * 0: invalid card
 * 1: Hearts
 * 2: Diamonds
 * 3: Clubs
 * 4: Spades
 */
unsigned char card_get_suite(Card card);

/**
 * Calculates the score of the given Card.
 * 0: invalid card
 * 1: Ace
 * 2: Two
 * ...
 * 10: Ten, Jack, Queen, King
 */
unsigned char card_get_score(Card card);

#endif
